package com.woniu.his.dms.service;

import com.woniu.his.dms.infra.model.CaseModelCatalog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.his.dms.service.dto.CaseModelCatalogDto;
import com.woniu.his.dms.service.param.AddCaseModelCatalogParam;
import java.util.List;

/**
 * <p>
 * 病历模板目录 服务类
 * </p>
 *
 * @author ZJH
 * @since 2022-11-27
 */
public interface CaseModelCatalogService extends IService<CaseModelCatalog> {

    /**
     * 新增病历模板目录
     * @param param
     * @return
     */
    Boolean addCaseModelCatalogService(AddCaseModelCatalogParam param);

    /**
     * 删除病历模板目录
     * @param id
     * @return
     */
    Boolean deleteCaseModelCatalogById(Long id);

    /**
     * 更新病历模板目录名字
     * @param id
     * @param catalogName
     * @return
     */
    Boolean updateCaseModelCatalogName(Long id, String catalogName);

    /**
     * 查询病历模板目录树
     * @return
     */
    List<CaseModelCatalogDto> queryCaseModelCatalog();
}
